package ControlLayer;
import ModelLayer.*;
import DBLayer.*;

public class CtrMaterial 
{
	public CtrMaterial()
	{
		
	}
	
	public void insertMaterial(String idMaterial,String type,double price,int shine,String colour,double amount) throws Exception
	{
		DBMaterial dbMat = new DBMaterial();
		Material matObj = new Material(idMaterial, type, price, shine, colour, amount);
		dbMat.insertMaterial(matObj);
	}
	
	public void updateMaterial(String idMaterial,String type,double price,int shine,String colour,double amount) throws Exception
	{
		
	}

}
